|
RtLockKernel locks certain sections of a Windows kernel's virtual address space into physical memory.
Syntax
BOOL RtLockKernel(
ULONG Section
);
Parameters
Section
A number specifying which section of the kernel to lock. Currently, RT_KLOCK_ALL is supported. This will lock down all pageable kernel sections.
Return Values
TRUE if the function completes successfully, FALSE if invalid parameters are specified
Remarks
RtLockKernel locks down all specified eligible sections of the kernel's memory, so that it is not paged out, and so that it does not incur page faults during execution.
IMPORTANT! Using this function can have a significant negative impact on system performance.
Since all RTSS and Windows kernel portions of memory used by RTSS are always locked, this function has no impact on RTSS determinism. This call has no effect when issued from RTSS applications.
Requirements
Header | Rtapi.h |
Library | Rtx_Rtss.lib |
See Also: